package com.enation.app.shop.front.api.inpolicy.service;

import com.enation.app.shop.front.api.inpolicy.entity.InPolicy;

import java.util.List;

public interface IInpolicyManager {




    List<InPolicy> getWarrantyByuserid(Integer userid);

    InPolicy getWarrantyByuseridAndRecentTime(Integer userid);

    int  createWarranty(InPolicy warranty);

    InPolicy warranty(String warrantynumber);

    InPolicy getById(Integer id);

    int editwarranty(InPolicy warranty);

    List<InPolicy> getWarrantyByuseridAndStatus(Integer userid,Integer i);
}
